{% extends "base_admin.html"%}
{%load static%}

{% block css%}
{% endblock %}
{% block content%}
<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">添加用户</h3>
  </div>
  <div class="panel-body">
    <form class="form" action="" method="post" novalidate>
        {%csrf_token%}
            
            {% for field in form %}
                <div class="form-group">
                    {{field.label}}
                    {{field}}
                    <span style="color: red;">{{field.errors.0}}</span>
                </div>
            {% endfor%}
        <button class="btn btn-primary" autocomplete="false">提交</button>
    </form>
  </div>
</div>

{%endblock%}

{%block script%}
{%endblock%}